package druid.entity;
import java.util.Date;

public class Tip {
    private Integer id;
    private String name;
    private Integer good;
    private  Integer bad;
    private Date date;
    private String title;

    public Tip() {
    }

    public Tip(Integer id, String name, Integer good,
               Integer bad, Date date, String title) {
        this.id = id;
        this.name = name;
        this.good = good;
        this.bad = bad;
        this.date = date;
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGood() {
        return good;
    }

    public void setGood(Integer good) {
        this.good = good;
    }

    public Integer getBad() {
        return bad;
    }

    public void setBad(Integer bad) {
        this.bad = bad;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Tip{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", good=" + good +
                ", bad=" + bad +
                ", date=" + date +
                ", title='" + title + '\'' +
                '}';
    }
}

